package EjerciciosNoBoletin2.Ex10;

import java.util.HashSet;

public abstract class ConjuntoEntero {
	public static void main(String[] args) {
		HashSet hs = new HashSet();
		
		Problema10 e1 = new Problema10(3);
		Problema10 e2 = new Problema10(5);
		Problema10 e3 = new Problema10(4);
		Problema10 e4 = new Problema10(10);
	
		hs.add(e1);
		hs.add(e2);
		hs.add(e3);
		hs.add(e4);
		
		Problema10 e5 = new Problema10(4);
		System.out.println(hs.add(e5));
		
		System.out.println(hs);

	}

}
